Merge pull request #205 from dblodgett-usgs/mainstems #84
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
name: Copy namespaces to pids.geoconnex.us | |
on: | |
push: | |
branches: | |
# - 'dev' | |
- 'master' | |
paths: | |
- 'namespaces/**' | |
workflow_dispatch: | |
jobs: | |
copy-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Push to pids.geoconnex.us | |
uses: DevOpenWRT-Router/github-action-push-to-another-repository@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-directory: 'namespaces' | |
destination-repository-name : 'internetofwater/pids.geoconnex.us' | |
target-branch: 'main' | |
target-directory: 'namespaces' | |
user-email: '[email protected]' | |
user-name: 'webb-ben' |