Skip to content

Commit

Permalink
Action deployment
Browse files Browse the repository at this point in the history
1bl4z3r committed May 13, 2024
1 parent dcfa70d commit 0cc4dae
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deployment action on push to main
on:
push:
branches:
- main
workflow_dispatch:

jobs:
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

0 comments on commit 0cc4dae

Please sign in to comment.