File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Playroom
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - " **"
10+
11+ env : # Set environment variables for every job and step in this workflow
12+ CLICOLOR : " 1" # Enable colors for *NIX commands
13+ PY_COLORS : " 1" # Enable colors for Python-based utilities
14+ FORCE_COLOR : " 1" # Force colors in the terminal
15+
16+ jobs :
17+ deploy :
18+ runs-on : ubuntu-latest
19+ permissions :
20+ pull-requests : write # for dependabot
21+ contents : write # for deploying to GitHub Pages on master
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+
26+ - name : Node
27+ uses : ./.github/actions/node
28+
29+ - name : Version test
30+ run : |
31+ git fetch --tags --quiet
32+ echo "VERSION_TAG=$(git tag --list '@kiwicom/orbit-components@*' --sort=creatordate | sed '$!d' | sed -n '$ s|.*@||; s/\./-/gp')" >> $GITHUB_ENV
33+
34+ - name : Get DOMAIN
35+ # if: ${{ github.event.inputs.dryrun == 'false' }}
36+ # run: echo "PLAYROOM_DOMAIN=https://kiwicom-orbit-v${VERSION_TAG}.surge.sh" >> $GITHUB_ENV
37+ run : echo "PLAYROOM_DOMAIN=https://kiwicom-orbit-v${VERSION_TAG}.surge.sh" >> $GITHUB_ENV
38+
39+ - name : Deploy to staging
40+ run : echo $PLAYROOM_DOMAIN
41+ # run: yarn components deploy:surge ${PLAYROOM_DOMAIN} --token ${{ secrets.SURGE_TOKEN }}
You can’t perform that action at this time.
0 commit comments