-
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.
Merge pull request #13 from aaroncastro1990/branching_updates
updating github actions to trigger on `main` branch
- Loading branch information
Showing
2 changed files
with
12 additions
and
11 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 |
---|---|---|
|
@@ -2,12 +2,12 @@ name: "Docs - Build" | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
tags: | ||
- release* | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
|
||
env: | ||
# HOME required by Setup Git and Setup Go Steps | ||
|
@@ -25,15 +25,15 @@ jobs: | |
- check_links | ||
steps: | ||
# SSH Agent Setup required for git to pull modules from private repos | ||
- name: SSH Agent Setup | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.GLOBAL_FLEXERA_CI_PRIVATE_SSH_KEY }} | ||
# - name: SSH Agent Setup | ||
# uses: webfactory/[email protected] | ||
#with: | ||
# ssh-private-key: ${{ secrets.GLOBAL_FLEXERA_CI_PRIVATE_SSH_KEY }} | ||
- name: Checkout so we can get build tags | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
ssh-key: ${{ secrets.GLOBAL_FLEXERA_CI_PRIVATE_SSH_KEY }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
submodules: recursive | ||
- name: Setup Environment Variables | ||
env: | ||
|
@@ -86,8 +86,9 @@ jobs: | |
|
||
- name: Update git config | ||
run: | | ||
git config --global user.email "TravisCI" | ||
git config --global user.email "Github Actions" | ||
git config --global user.name "Automated Deployment" | ||
git config --global url."[email protected]:".insteadOf "https://github.com" | ||
- name: Script | ||
run: | | ||
|
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