Skip to content

Instantly share code, notes, and snippets.

@arn-ob
Created December 20, 2022 05:36
Show Gist options
  • Save arn-ob/0ebc18c49bab28c54606bcba9806676b to your computer and use it in GitHub Desktop.
Save arn-ob/0ebc18c49bab28c54606bcba9806676b to your computer and use it in GitHub Desktop.
actions/checkout repository action
name: ssr-fetch prod
on:
push:
branches:
- main
jobs:
Deploy:
name: ssr-fetch Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: 'arn-ob/ssr-fetch'
- name: Get brandh tag
id: vars
shell: bash
run: |
echo "::set-output name=tag::${GITHUB_REF#refs/heads/}-$(git rev-parse --short HEAD)"
- name: Check linux ls and pwd
run: |
ls
pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment