Add additional environment variables to better support reverse proxies #62
Workflow file for this 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
name: Create release | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- closed | |
permissions: | |
contents: write | |
actions: write | |
jobs: | |
release: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install autotag binary | |
run: curl -sL https://git.io/autotag-install | sudo sh -s -- -b /usr/bin | |
- name: create release | |
run: |- | |
TAG=$(autotag) | |
git tag $TAG | |
git push origin $TAG | |
gh release create $TAG | |
gh workflow run push.yml -f tag=$TAG --ref $TAG | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |