Skip to content
Discussion options

You must be logged in to vote

You can use GitHub actions to do this. Here's an example action running on a cron: https://github.com/specfm/design-details/blob/master/.github/workflows/deploy.yml

name: weekly episode deployment

on:
  schedule:
    - cron:  '30 12 * * 3'

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: amondnet/now-deployment@v2
        with:
          zeit-token: ${{ secrets.ZEIT_TOKEN }}
          now-args: '--prod'
          now-org-id: ${{ secrets.ZEIT_ORG_ID }}
          now-project-id: ${{ secrets.ZEIT_PROJECT_ID}}

These secrets can be found after you link a project for the first time with now. This generates a .now directory in your project, …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@josias-r
Comment options

@brianlovin
Comment options

@IRediTOTO
Comment options

Answer selected by josias-r
Comment options

You must be logged in to vote
1 reply
@timneutkens
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants