Fix the workflow #3
This file contains hidden or 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: Sync Stack To Date | |
| on: | |
| push: | |
| branches: [ master, main ] | |
| jobs: | |
| sync-stacktodate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download stacktodate binary | |
| run: | | |
| curl -L https://github.com/stacktodate/stacktodate-cli/releases/latest/download/stacktodate_linux_amd64.tar.gz | tar xz | |
| chmod +x stacktodate | |
| - name: Check stacktodate config | |
| run: ./stacktodate check | |
| - name: Push stacktodate config | |
| run: ./stacktodate push | |
| env: | |
| STD_TOKEN: ${{ secrets.STD_TOKEN }} |