fix: remove colosseum keys from repo #29
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: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Build Landing Page | |
| run: | | |
| cd website | |
| npm install | |
| npm run build | |
| - name: Build Pitch Deck | |
| run: | | |
| cd docs/pitch | |
| npm install | |
| npm run build -- --base /solder-cortex/pitch/ | |
| - name: Prepare Deploy Directory | |
| run: | | |
| mkdir -p deploy | |
| cp -r website/dist/* deploy/ | |
| mkdir -p deploy/pitch | |
| cp -r docs/pitch/dist/* deploy/pitch/ | |
| mkdir -p deploy/dashboard | |
| cp -r dashboard/* deploy/dashboard/ | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: deploy | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |