Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add action to publish to Heroku #18

Merged
merged 22 commits into from
Dec 6, 2023
Merged

Add action to publish to Heroku #18

merged 22 commits into from
Dec 6, 2023

Conversation

antidipyramid
Copy link
Collaborator

@antidipyramid antidipyramid commented Dec 1, 2023

Overview

This PR adds an action workflow to publish the database to Heroku as a Datasette instance.

Closes #14

Testing instructions

  • Verify that you can log into the Heroku instance

@antidipyramid antidipyramid changed the base branch from main to civil December 1, 2023 19:43
env:
HEROKU_ORGANIZATION: ${{ secrets.HEROKU_ORG }}

steps:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use a slim, custom Docker image to do the deployment instead.

# - cron: '15 4 * * *'

jobs:
# build:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Placeholder for scraping job.

@antidipyramid antidipyramid changed the title Temporary PR Add action to publish to Heroku Dec 1, 2023
@antidipyramid antidipyramid marked this pull request as ready for review December 1, 2023 19:54
run: |
datasette install datasette-auth-passwords datasette-auth-tokens

- name: Get hashed Datasette password
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, i'd like to think about if there's a better pathway for multiple users, but this is fine for now.

@antidipyramid antidipyramid merged commit 0e2c1d4 into civil Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants