-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add frontend compilation step to deploy.yml workflow
- Loading branch information
Showing
2 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,27 +25,6 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set Up Node.js For Frontend Compilation | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install Yarn | ||
run: npm install -g yarn | ||
|
||
- name: Compile Frontend | ||
run: | | ||
cd frontend | ||
yarn check --integrity || yarn install | ||
yarn deploy | ||
- name: Amend compilation changes to last commit | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add -A | ||
git commit --amend --no-edit | ||
- name: Dokku | ||
uses: dokku/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters