Update .gitea/workflows/deploy.yml
Some checks failed
Deploy to Scaleway / build-and-deploy (pull_request) Failing after 1s
Some checks failed
Deploy to Scaleway / build-and-deploy (pull_request) Failing after 1s
This commit is contained in:
@@ -11,9 +11,6 @@ jobs:
|
|||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
||||||
container:
|
|
||||||
image: scaleway/cli:latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -30,6 +27,11 @@ jobs:
|
|||||||
- name: Build Hugo site
|
- name: Build Hugo site
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
|
- name: Install Scaleway CLI
|
||||||
|
run: |
|
||||||
|
curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.32.0/scaleway-cli_2.32.0_linux_amd64"
|
||||||
|
chmod +x /usr/local/bin/scw
|
||||||
|
|
||||||
- name: Configure Scaleway CLI
|
- name: Configure Scaleway CLI
|
||||||
run: |
|
run: |
|
||||||
scw init access-key=${{ secrets.SCW_ACCESS_KEY }} \
|
scw init access-key=${{ secrets.SCW_ACCESS_KEY }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user