Skip to content

Commit

Permalink
add new visa requirement status message
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaz committed Jan 2, 2024
1 parent 4d319c4 commit c41a2b0
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 10,927 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on: [push]

env:
PUBLIC_BLOG_API_HOSTNAME: ${{ vars.PUBLIC_BLOG_API_HOSTNAME }}
PUBLIC_API_HOSTNAME: ${{ vars.PUBLIC_API_HOSTNAME }}

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -8,15 +12,32 @@ jobs:
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Public IP
id: ip
uses: haythem/[email protected]

- name: Print Public IP
run: |
echo ${{ steps.ip.outputs.ipv4 }}
echo ${{ steps.ip.outputs.ipv6 }}
- name: Checkout
uses: actions/checkout@v3

# Run a build step here if your project requires
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18

- name: install packages and build
run: |
npm install
npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: d10fb2c6371dc400ef66649f9060894a
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: visperto-ui
directory: dist
directory: dist
Loading

0 comments on commit c41a2b0

Please sign in to comment.