Skip to content

Commit

Permalink
GO-165 Create PR test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucirezac committed Mar 26, 2024
1 parent 829d8cc commit 80bb10a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release

on:
release:
types: [published]
push:
branches: GO-165_create-release-workflow

env:
WORKDIR: release
GITHUB_TOKEN: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }}

jobs:
release:
name: Build and release CDN
runs-on: [ self-hosted, fernando ]
defaults:
run:
working-directory: ${{ env.WORKDIR }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: ${{ env.WORKDIR }}

- name: Create pull request
run: npm run cdn-pr

# - name: Approve pull request
# uses: juliangruber/approve-pull-request-action@v2
# with:
# github-token: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }}
# number: ${{ env.PULL_REQUEST }}
# repo: juliangruber/approve-pull-request-action

# - name: Merge pull request
# uses: juliangruber/merge-pull-request-action@v1
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# number: ${{ env.PULL_REQUEST_NUMBER }}
# method: squash # merge rebase
# repo: juliangruber/octokit-action

# - name: Publish to CDN
# run: npm run pub

0 comments on commit 80bb10a

Please sign in to comment.