Skip to content

Commit

Permalink
Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush-linux committed Jul 13, 2024
1 parent 2af6ef4 commit af70bea
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/deply.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Retype powered website to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- master

jobs:
publish:
name: Publish to retype branch

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- uses: retypeapp/action-build@latest

- uses: retypeapp/action-github-pages@latest
with:
update-branch: true
9 changes: 9 additions & 0 deletions cheat/docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Docker Postgres Setup

```sh
sudo docker pull postgres
sudo docker volume create postgres_data
sudo docker run --name postgres_container -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 -v postgres_data:/var/lib/postgresql/data postgres
sudo docker container start postgres_container
# POSTGRES_URL = postgresql://postgres:mysecretpassword@localhost:5432/foodie
```
2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
input: .
output: .retype
url: piyush-linux.github.io
url: piyush-linux.github.io/readme
branding:
logo: static/logo.svg
title: Readme
Expand Down

0 comments on commit af70bea

Please sign in to comment.