Skip to content

Action deployment

Action deployment #3

Workflow file for this run

name: Deployment action on push to main
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy-static-files:
name: Deploy Static page to GitHub Pages
runs-on: ubuntu-latest
env:
prepo: ${{github.repository}}
steps:
- name: Checkout repo
uses: actions/checkout@v4
# - name: Set up Minify Actions
# uses: amireshoon/minifyAction@main
# with:
# repo: $prepo
# - name: Minifying Codes
# run: |
# minifier.sh $prepo
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public