Skip to content

♻️ 🔒 A GitHub action to run git-crypt unlock : Git-Crypt Unlock

License

Notifications You must be signed in to change notification settings

zemuldo/git-crypt-unlock

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Example

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 🚀🚀🚀