Skip to content

Commit

Permalink
Merge pull request #815 from nextcloud/fix/800-no-push-possible
Browse files Browse the repository at this point in the history
Remove overriding header while pushing deployment scripts
  • Loading branch information
christianlupus authored Oct 16, 2021
2 parents c1b0e30 + 3e66153 commit a3db4e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/deploy/create-version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash
#! /bin/bash -e

# set -x

Expand Down Expand Up @@ -59,8 +59,8 @@ git merge --no-ff $stable_branch

git remote add tokenized "https://nextcloud-cookbook-bot:$BOT_TOKEN@github.com/nextcloud/cookbook.git"

git push tokenized $stable_branch
git push tokenized $master_branch
git push -c "http.https://github.com/.extraheader=" tokenized $stable_branch
git push -c "http.https://github.com/.extraheader=" tokenized $master_branch
git push origin "v$version"

echo "::set-output name=version::$version"
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## [Unreleased]

### Fixed
- Usage of PAT for deployment action
[#815](https://github.com/nextcloud/cookbook/pull/815) @christianlupus


## 0.9.5 - 2021-10-15

### Fixed
Expand Down

0 comments on commit a3db4e6

Please sign in to comment.