Skip to content

Commit

Permalink
Minify on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Jan 8, 2024
1 parent 64933bf commit b7ce736
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Deploy
name: Deploy

on:
push:
branches:
Expand All @@ -8,16 +9,25 @@ on:
- '**/LICENSE.txt'
- '**/.replit'
- '**/replit.nix'

concurrency:
group: "deploy"
cancel-in-progress: false
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Check out Git repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Minify-JS Action
uses: jossydevers/[email protected]

- name: Deploy to Firebase
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down

0 comments on commit b7ce736

Please sign in to comment.