Skip to content

a action for upload ssl cert from github actions to 1panel

License

Notifications You must be signed in to change notification settings

dextercai/1panel_ssl_cert_uploader

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

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1panel_ssl_cert_uploader

a action for upload ssl cert from github actions to 1panel

Acknowledgements

I would like to express my gratitude to the following individuals and organizations:

example

# if you enable mfa
- name: Generate auth code
  id: generate
  uses: nknguyengl/[email protected]
  with:
    totp_key: ${{ secrets.MFA_KEY }}


- uses: dextercai/1panel_ssl_cert_uploader@main
  with:
    username: "username"
    password: ${{ secrets.PASSWORD }}
    entrance_code: "example_code" # optional
    mfa_token: ${{ steps.generate.outputs.code }} # optional
    login_url: "http://example.com/api/v1/auth/login"
    mfa_login_url: "http://example.com/api/v1/auth/mfalogin"
    upload_url: "http://example.com/api/v1/websites/ssl/upload"
    ssl_id: 1
    description: "sync from actions"
    private_key_path: ./_.example.com.key
    certificate_path: ./_.example.com.pem

About

a action for upload ssl cert from github actions to 1panel

Topics

Resources

License

Stars

Watchers

Forks

Languages