Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 711 Bytes

File metadata and controls

32 lines (26 loc) · 711 Bytes

github-action-deploy

Composite GitHub Action to deploy a brdgm.me application.

Usage example:

name: Deploy

on:
  push:
    branches:
      - master
  workflow_dispatch:

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

    steps:
      - uses: brdgm/github-action-deploy@v1
        id: deploy
        with:
          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 }}