Unescape termination #10
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: Build and deploy dashboard | |
on: | |
push: | |
branches: | |
- 'coverview' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:bookworm | |
name: Build | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Add coverview | |
run: ls && mkdir dist && sed -i 's/DATA_PLACEHOLDER/https:\/\/chipsalliance\.github\.io\/Cores-VeeR-EL2\/html\/dev\/303\/data_v\.zip/' index.html && cp index.html dist | |
- name: Upload dist | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverview | |
path: ./dist/ | |
deploy: | |
runs-on: ubuntu-latest | |
needs: [build] | |
permissions: | |
contents: write | |
repository-projects: write | |
steps: | |
- name: Download artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: coverview | |
path: ./dist | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist |