PORT in URL address in production (Astro.url) #1037
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: Add continuous release label | |
on: | |
issue_comment: | |
types: [created] | |
permissions: | |
pull-requests: write | |
jobs: | |
label: | |
if: ${{ github.repository_owner == 'withastro' && startsWith(github.event.comment.body, '!preview') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if user has write access | |
uses: lannonbr/[email protected] | |
with: | |
permission: write | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: | | |
gh issue edit ${{ github.event.issue.number }} --add-label "pr: preview" --repo ${{ github.repository }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |