Skip to content

chore: add Playroom deployment #5

chore: add Playroom deployment

chore: add Playroom deployment #5

Workflow file for this run

name: Playroom
on:
push:
branches:
- master
pull_request:
branches:
- "**"
env: # Set environment variables for every job and step in this workflow
CLICOLOR: "1" # Enable colors for *NIX commands
PY_COLORS: "1" # Enable colors for Python-based utilities
FORCE_COLOR: "1" # Force colors in the terminal
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pull-requests: write # for dependabot
contents: write # for deploying to GitHub Pages on master
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Get BRANCH_URL
# do not run on master branch
if: github.ref != 'refs/heads/master'
env:
BRANCH_NAME: ${{ github.head_ref }}
run: echo "BRANCH_URL=$(sed -e 's/[^a-zA-Z0-9]/-/g' <<< ${BRANCH_NAME})" >> $GITHUB_ENV
- name: Ref test
run: echo "$GITHUB_REF"
- name: Print Tag
run: echo ${{github.ref_name}}