Skip to content

Commit

Permalink
Add deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mikiken committed Nov 10, 2023
1 parent d7d0378 commit 43b741d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:

jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: mikiken/mikiken.net
publish_branch: main
destination_dir: compiler_log
cname: mikiken.net

0 comments on commit 43b741d

Please sign in to comment.