An open API service indexing awesome lists of open source software.

https://github.com/brdgm/github-action-release

GitHub Action
https://github.com/brdgm/github-action-release

Last synced: 4 months ago
JSON representation

GitHub Action

Awesome Lists containing this project

README

          

github-action-release
======

Composite GitHub Action to release and deploy a brdgm.me application.

Usage example:

```yaml
name: Release and Deploy

on:
workflow_dispatch:

permissions:
contents: read

jobs:
release:
runs-on: ubuntu-latest
environment:
name: Production
url: "https://brdgm.me/${{ steps.release.outputs.app-deploy-name }}"

permissions:
contents: write
pull-requests: read

steps:
- uses: brdgm/github-action-release@v2
id: release
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
gh-site-deploy-pat: ${{ secrets.GH_SITE_DEPLOY_PAT }}
gh-site-deploy-username: ${{ secrets.GH_SITE_DEPLOY_USERNAME }}
gh-site-deploy-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
gh-site-deploy-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
```