Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build site
run: |
# Your build commands here
echo 'Building site...'
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./
cname: darksword990.github.io
headers: |
/*:
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp