Skip to content

Commit

Permalink
Action deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
1bl4z3r committed May 13, 2024
1 parent 0cc4dae commit 60512ab
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@ on:
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
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

0 comments on commit 60512ab

Please sign in to comment.