-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -4,22 +4,34 @@ author: 'fechan' | |
branding: | ||
color: blue | ||
icon: code | ||
inputs: | ||
working-directory: | ||
description: Working directory for this action | ||
required: true | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- run : npm i | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : npm ci | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : vite build | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : git config user.name github-actions | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : git config user.email [email protected] | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : git --work-tree build add --all | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : git commit -m "Automatic Deploy action run by github-actions" | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash | ||
- run : git push origin HEAD:gh-pages --force | ||
working-directory: ${{ inputs.working-directory }} | ||
shell: bash |
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