fix footer #49
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 GH Page | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
name: Build GH Page | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.1' | |
- name: Build fazic_site | |
run: | | |
cd fazic_site | |
bundle install | |
bundle exec rake | |
- name: Setup rust | |
uses: jetli/[email protected] | |
- name: Build fazic_wasm_js | |
run: | | |
cd fazic_wasm_js | |
make | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Build final sire | |
run: | | |
cp -rv fazic_site/dist . | |
cp -rv fazic_static dist/fazic | |
cp -rv fazic_wasm_js/build dist/test | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: 'dist' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |