Files
nodejs-meetup-vienna-2026-0…/.gitea/workflows/deploy-container.yaml
Stefan Georg Rath 79fb5ec55b
Some checks failed
Build and Push to Scaleway Registry / build (push) Failing after 23s
Runner Test / test-connection (push) Successful in 3s
project setup
2026-02-07 19:20:20 +01:00

28 lines
886 B
YAML

name: Deploy to Scaleway Registry
on:
workflow_run:
workflows:
- Build and Push to Scaleway Registry
types:
- completed
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- name: Deploy to Scaleway
run: |
curl -s https://raw.githubusercontent.com/scaleway/scaleway-cli/master/scripts/get.sh | sh
scw init secret-key=${{ secrets.SCALEWAY_API_KEY }} \
access-key=${{ secrets.SCALEWAY_ACCESS_KEY }} \
organization-id=${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }} \
project-id=${{ secrets.SCW_DEFAULT_PROJECT_ID }} \
send-telemetry=false \
install-autocomplete=false
scw container container deploy ${{ secrets.SERVERLESS_CONTAINER_ID }}