Skip to content

Commit

Permalink
styling form_create page
Browse files Browse the repository at this point in the history
  • Loading branch information
Anas-github-acc committed Jul 27, 2024
2 parents 3aa5f03 + e0d1ed0 commit 493f356
Show file tree
Hide file tree
Showing 48 changed files with 2,738 additions and 106 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/vercelMerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to vercel on merge
on:
push:
branches:
- new
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# To set more environment variables on the build, either use Vercel CLI or this:
# - uses: dkershner6/vercel-set-env-action@v1
# with:
# token: ${{ secrets.VERCEL_TOKEN }}
# projectName: events-app
# envVariableKeys: SOME_VARIABLE
# env:
# SOME_VARIABLE: ${{ secrets.SOME_VARIABLE }}
# TARGET_SOME_VARIABLE: preview,development,production
# TYPE_SSOME_VARIABLE: encrypted
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
20 changes: 20 additions & 0 deletions .github/workflows/vercelPullRequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Create vercel preview URL on pull request
on:
pull_request:
branches:
- new
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
id: vercel-deploy
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
- name: preview-url
run: |
echo ${{ steps.vercel-deploy.outputs.preview-url }}
Loading

0 comments on commit 493f356

Please sign in to comment.