scaleway/action-scw
TypeScript
Captured source
source ↗published Apr 11, 2023seen 5dcaptured 8hhttp 200method plain
scaleway/action-scw
Description: Github action to install and use scaleway-cli
Language: TypeScript
License: Apache-2.0
Stars: 59
Forks: 6
Open issues: 2
Created: 2023-04-11T13:04:12Z
Pushed: 2026-06-05T16:02:32Z
Default branch: main
Fork: no
Archived: no
README:
GitHub action for Scaleway CLI
This action install scaleway-cli and allows you to run commands as well as install and export your config.
Usage
Config
save_config: save your config to scaleway's config file, useful to use it with other tools like terraform or SDKsexport_config: export your config to the environment to use the same action in the next steps
Checkout CLI's config documentation
- name: Use CLI
uses: scaleway/action-scw@v0
with:
save-config: true
export-config: true
version: v2.24.0
access-key: ${{ secrets.SCW_ACCESS_KEY }}
secret-key: ${{ secrets.SCW_SECRET_KEY }}
default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}Commands
args: when arguments are given, a command will be executed and the json output will be in thejsonoutput
- name: Use CLI
uses: scaleway/action-scw@v0
id: cli
with:
args: instance server get ${{ env.SERVER_ID }}
- run: echo ${{ steps.cli.outputs.json }}Others
repo-token: default to the workflow token (i.e.GITHUB_TOKEN), needed to check the latest version of the tool availableversion: default to latest, must be exact version. Fetched from exported config if availableaccess-keysecret-keydefault-project-iddefault-organization-id