mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Stores username/email in secrets
This commit is contained in:
parent
0da20f04b8
commit
27009d7a96
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@ -1,5 +1,4 @@
|
|||||||
name: "CodeQL"
|
name: "CodeQL"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
14
.github/workflows/production.yml
vendored
14
.github/workflows/production.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Land production js and modules
|
name: Deploy Production Dependencies and Code
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
@ -35,16 +35,16 @@ jobs:
|
|||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
- name: Production node_modules
|
- name: Install Production node_modules
|
||||||
run: |
|
run: |
|
||||||
yarn install --production
|
yarn install --production
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Commit and Push
|
||||||
# keep the run green if the commit fails for the lack of changes
|
# Keep the run green if the commit fails for the lack of changes
|
||||||
continue-on-error: True
|
continue-on-error: True
|
||||||
run: |
|
run: |
|
||||||
git config user.email "iam@jamesiv.es"
|
git config user.email "${{ secrets.GIT_CONFIG_EMAIL }}"
|
||||||
git config user.name "James Ives"
|
git config user.name "${{ secrets.GIT_CONFIG_NAME }}"
|
||||||
git add .
|
git add .
|
||||||
git commit -m"Deploy production js code for ${{ github.sha }}"
|
git commit -m "Deploy Production Code for Commit ${{ github.sha }} 🚀"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user