Skip to content

Commit

Permalink
try new way to push
Browse files Browse the repository at this point in the history
  • Loading branch information
Tompage1994 committed Sep 3, 2020
1 parent 778411e commit faa3508
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflow-config/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

- name: push changelogs to devel
shell:
cmd: "git checkout devel && git add changelogs CHANGELOG.rst && git commit -m 'add changelog {{ collection_version }}' && git push"
cmd: "git add changelogs CHANGELOG.rst && git commit -m 'add changelog {{ collection_version }}'"
chdir: "{{ repo_base_dir }}"

- name: git cleanup
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/galaxy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
- name: Check out code
uses: actions/checkout@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
fetch-depth: 0

- name: Set up Python 3.8
uses: actions/setup-python@v1
Expand All @@ -31,3 +32,9 @@ jobs:
-e api_key=${{ secrets.ANSIBLE_GALAXY_APIKEY }}
-e collection_repo=https://github.com/${{ github.repository }}
--skip-tags=install,cleanup

- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: devel
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit faa3508

Please sign in to comment.