Skip to content

Instantly share code, notes, and snippets.

View anshulsahni's full-sized avatar
👨‍💻
Building Zivy

Anshul Sahni anshulsahni

👨‍💻
Building Zivy
View GitHub Profile
@anshulsahni
anshulsahni / deployment_aliases.sh
Last active November 19, 2024 09:18
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