Skip to content

favicon

favicon #12

Workflow file for this run

name: Deploy
on:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and Deploy
run: |
sh build.sh
cp -prvf build public
echo "User-agent: *" > public/robots.txt
echo "Allow: /" >> public/robots.txt
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2