Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zemuldo/git-crypt-unlock
:recycle: :lock: A GitHub action to run git-crypt unlock : Git-Crypt Unlock
https://github.com/zemuldo/git-crypt-unlock
action actions git-crypt git-crypt-action github-actions
Last synced: about 1 month ago
JSON representation
:recycle: :lock: A GitHub action to run git-crypt unlock : Git-Crypt Unlock
- Host: GitHub
- URL: https://github.com/zemuldo/git-crypt-unlock
- Owner: zemuldo
- License: mit
- Created: 2019-10-24T06:42:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T19:35:27.000Z (over 4 years ago)
- Last Synced: 2024-10-01T05:42:18.572Z (about 2 months ago)
- Topics: action, actions, git-crypt, git-crypt-action, github-actions
- Language: Dockerfile
- Homepage:
- Size: 251 KB
- Stars: 17
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git-Crypt Unlock
GitHub action for unlocking files encrypted using Git-Crypt on your repository.
## Usage
To use this action, you need a GPG key, its grip and passphrase on the secrets section of your repository.
- `GPG_KEY_GRIP` = `The sub key-grip`
- `GPG_PRIVATE_KEY` = `Base64 encoded version of the private key`
- `GPG_KEY_PASS` = `Key passphrase`[Here is how to get the values of the required secrets](SETUP_KEYS.md)
## Example
```yml
name: Test with Git-Crypt Unlocked
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Git-Crypt Unlock
uses: zemuldo/[email protected]
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_KEY_GRIP: ${{ secrets.GPG_KEY_GRIP }}
GPG_KEY_PASS: ${{ secrets.GPG_KEY_PASS }}
# Any actions below here will have files have been decrypted.
# And 🚀🚀🚀
```