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 2088cdb commit 39ca529
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,27 @@ jobs:
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
uses: actions/checkout
- name: Set up Minify Actions
uses: amireshoon/minifyAction@main
with:
repo: $prepo
- name: Minifying Codes
run: |
minifier.sh $prepo
- name: Pushing to production branch
uses: actions-js/push
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
# directory: github/workspace
branch: gh-pages
message: Minified css, js and html
author_name: 1bl4z3r
author_email: [email protected]
force: true
# - name: Deploy
# uses: peaceiris/actions-gh-pages
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# full_commit_message: ${{ github.event.head_commit.message }}
# publish_dir: ./public

0 comments on commit 39ca529

Please sign in to comment.