Update project status to 'Terminated' (#2755) #1573
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: Publish website | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| if: github.repository_owner == 'w3f' | |
| name: build and deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Publish | |
| run: | | |
| git config --global user.email "grants-deployer@users.noreply.github.com" | |
| git config --global user.name "grants-deployer" | |
| echo "machine github.com login grants-deployer password ${{ secrets.ACCESS_KEY }}" > ~/.netrc | |
| yarn && yarn build && GIT_USER=grants-deployer PUBLISHING=true yarn deploy | |
| - if: ${{ failure() }} | |
| uses: fadenb/matrix-chat-message@v0.0.6 | |
| with: | |
| homeserver: 'matrix.web3.foundation' | |
| token: ${{ secrets.MATRIX_TOKEN }} | |
| channel: ${{ secrets.MATRIX_CHANNEL_ID }} | |
| message: | | |
| WEBSITE BUILD FAILED: [This](https://github.com/w3f/Grants-Program/commit/${{ github.sha }}) is the last push commit. |