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"
|
||||
|
||||
on:
|
||||
push:
|
||||
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:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
@ -35,16 +35,16 @@ jobs:
|
||||
yarn install
|
||||
yarn build
|
||||
|
||||
- name: Production node_modules
|
||||
- name: Install Production node_modules
|
||||
run: |
|
||||
yarn install --production
|
||||
|
||||
- name: Commit and push
|
||||
# keep the run green if the commit fails for the lack of changes
|
||||
- name: Commit and Push
|
||||
# Keep the run green if the commit fails for the lack of changes
|
||||
continue-on-error: True
|
||||
run: |
|
||||
git config user.email "iam@jamesiv.es"
|
||||
git config user.name "James Ives"
|
||||
git config user.email "${{ secrets.GIT_CONFIG_EMAIL }}"
|
||||
git config user.name "${{ secrets.GIT_CONFIG_NAME }}"
|
||||
git add .
|
||||
git commit -m"Deploy production js code for ${{ github.sha }}"
|
||||
git commit -m "Deploy Production Code for Commit ${{ github.sha }} 🚀"
|
||||
git push
|
||||
|
Loading…
Reference in New Issue
Block a user