Import job Scaleway #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Import job Scaleway | |
on: | |
workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | |
jobs: | |
start-job-image: | |
strategy: | |
matrix: | |
start_date: ["2023-04-01", "2023-05-01","2023-06-01","2023-07-01"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: start import job to reapply logic to all elements start_date matrix | |
uses: jawher/[email protected] | |
env: | |
SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} | |
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} | |
SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }} | |
SCW_ZONE: ${{ secrets.SCW_ZONE }} | |
with: | |
args: jobs definition start ${{ secrets.SCALEWAY_JOB_IMPORT_ID }} environment-variables.UPDATE=true environment-variables.START_DATE_UPDATE=${{ matrix.start_date }} |