mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
ipfs deploy #5
This commit is contained in:
parent
b22bcc0b6b
commit
cdddf29387
2 changed files with 30 additions and 0 deletions
29
.github/workflows/ipfs-deploy.yml
vendored
Normal file
29
.github/workflows/ipfs-deploy.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Deploy to IPFS
|
||||||
|
|
||||||
|
on:
|
||||||
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
# Using a different branch name? Replace `main` with your branch’s name
|
||||||
|
push:
|
||||||
|
branches: [ beta ]
|
||||||
|
|
||||||
|
# Allow this job to clone the repo and create a page deployment
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout your repository using git
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
- uses: denoland/setup-deno@v1
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run build
|
||||||
|
- run: npm run cleanup-flags
|
||||||
|
- uses: aquiladev/ipfs-action@master
|
||||||
|
with:
|
||||||
|
path: ./dist
|
||||||
|
service: pinata
|
||||||
|
pinataKey: ${{ secrets.PINATA_KEY }}
|
||||||
|
pinataSecret: ${{ secrets.PINATA_SECRET }}
|
|
@ -11,6 +11,7 @@
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| Production | [web3privacy.info](https://web3privacy.info) | GitHub Pages |
|
| Production | [web3privacy.info](https://web3privacy.info) | GitHub Pages |
|
||||||
| Production (mirror) | [w3pn-web.vercel.app](https://w3pn-web.vercel.app) | Vercel |
|
| Production (mirror) | [w3pn-web.vercel.app](https://w3pn-web.vercel.app) | Vercel |
|
||||||
|
| Production (IPFS) | TBA | IPFS |
|
||||||
| Beta (dev) | [beta.web3privacy.info](https://beta.web3privacy.info) | Vercel |
|
| Beta (dev) | [beta.web3privacy.info](https://beta.web3privacy.info) | Vercel |
|
||||||
|
|
||||||
## Used technologies
|
## Used technologies
|
||||||
|
|
Loading…
Reference in a new issue