Skip to content

Instantly share code, notes, and snippets.

View anshulsahni's full-sized avatar
🍻

Anshul Sahni anshulsahni

🍻
View GitHub Profile
@anshulsahni
anshulsahni / deployment_aliases.sh
Last active January 3, 2023 10:27
List of different kinds of aliases I use
### deployment tool aliases
## docker
# docker image
alias dckils='docker image ls'
alias dckilsa='docker image ls -a'
# docker container
alias dckcls='docker container ls'
@anshulsahni
anshulsahni / workflow.yml
Created September 10, 2020 19:02
Using submodules in actions/checkout@v2 for private Repos
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: <<true | recursive>>
# Generate a personal access token from https://github.com/settings/tokens
# Added that token as a secret in your repo at https://github.com/<<username>>/<<repo>>/settings/secrets/new
# In the token key below, access the same token using secrets.<<YOUR_SECRET_NAME>>
token: ${{ secrets.MY_ACCOUNT_PAT }}
# For more reference see