Skip to content

Commit f8416f1

Browse files
authored
Fixed Deploy v1 (#2814)
* Added Docusaurus files * Rearranged location of name.on.pull_request * CodeRabbit.ai suggestions * Fixed pnp GitHub action * Added docs/ directory to docker ignore * Removed pnpm version from GitHub Action * CodeRabbit.ai updates again * Updated docs/pnpm-lock.yaml * CodeRabbit.ai updates Mon Dec 30 06:00:44 PM PST 2024 * Removed .node-version * Added .node-version to .gitignore * Updated Docusaurus .gitignore * Updated pnpm package Mon Dec 30 06:14:31 PM PST 2024 * Updated deploy Mon Dec 30 06:41:50 PM PST 2024
1 parent 6bc9ffb commit f8416f1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/push-deploy-website.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# NOTE!
55
#
6-
# Please read the README.md file in this directory that defines what should
6+
# Please read the README.md file in this directory that defines what should
77
# be placed in this file
88
#
99
##############################################################################
@@ -14,23 +14,23 @@ name: PUSH Workflow - Website Deployment
1414
on:
1515
push:
1616
branches:
17-
- 'develop-postgres'
18-
17+
- "develop-postgres"
18+
1919
env:
2020
CODECOV_UNIQUE_NAME: CODECOV_UNIQUE_NAME-${{ github.run_id }}-${{ github.run_number }}
21-
21+
2222
jobs:
2323
Deploy-Docusaurus:
2424
name: Deploy https://docs-api.talawa.io website
2525
runs-on: ubuntu-latest
2626
# Run only if the develop-postgres branch and not dependabot
2727
if: ${{ github.actor != 'dependabot[bot]' }}
2828
environment:
29-
# This "name" has to be the repos' branch that contains
29+
# This "name" has to be the repos' branch that contains
3030
# the current active website. There must be an entry for
3131
# the same branch in the PalisadoesFoundation's
3232
# "Code and automation > Environments > github-pages"
33-
# menu. The branch "name" must match the branch in the
33+
# menu. The branch "name" must match the branch in the
3434
# "on.push.branches" section at the top of this file
3535
name: develop-postgres
3636
url: https://docs-api.talawa.io
@@ -63,7 +63,7 @@ jobs:
6363
echo "Failed to install dependencies"
6464
exit 1
6565
fi
66-
if ! pnpm deploy; then
66+
if ! pnpm run deploy; then
6767
echo "Deployment failed"
6868
exit 1
6969
fi

0 commit comments

Comments
 (0)