forked from PalisadoesFoundation/talawa-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into userLoginRequiresRefreshToFetchData#1498
- Loading branch information
Showing
347 changed files
with
4,467 additions
and
18,930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,11 +60,16 @@ jobs: | |
|
||
Generate-Documentation: | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/automated-docs' | ||
if: github.ref == 'refs/heads/develop' | ||
steps: | ||
- name: Checkout the Repository | ||
uses: actions/checkout@v3 | ||
# with: | ||
# ref: develop | ||
|
||
# - name: Pull latest changes from develop | ||
# run: git pull origin develop | ||
|
||
- name: Node.js Version | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -133,7 +138,7 @@ jobs: | |
git config --global user.email "${{env.email}}" | ||
git add . | ||
git commit -m "Update documentation" | ||
git push | ||
git push origin develop:automated-docs --force | ||
echo -e "🚀${Green} Hurrah! doc updated${NoColor}" | ||
- name: Create Documentation Artifact | ||
|
@@ -142,14 +147,33 @@ jobs: | |
name: documentation-admin | ||
path: talawa-admin-docs | ||
|
||
Copy-docs-to-talawa-docs: | ||
Empty-Commit: | ||
name: Create Empty Commit | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/develop' | ||
needs: Generate-Documentation | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
token: ${{ secrets.TALAWA_DOCS_SYNC }} | ||
- name: Empty Commit | ||
run: | | ||
git config --global user.name "${{github.actor}}" | ||
git config --global user.email "${{env.email}}" | ||
git config --global url.https://${{ secrets.TALAWA_DOCS_SYNC }}@github.com/.insteadOf https://github.com/ | ||
git commit --allow-empty -m "Trigger Documentation Workflow" | ||
git push origin develop:automated-docs --force | ||
Copy-docs-to-talawa-docs: | ||
if: github.ref == 'refs/heads/automated-docs' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dmnemec/[email protected] | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.TALAWA_DOCS_SYNC }} | ||
API_TOKEN_GITHUB: ${{secrets.TALAWA_DOCS_SYNC}} | ||
with: | ||
source_file: 'talawa-admin-docs/' | ||
destination_repo: 'PalisadoesFoundation/talawa-docs' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"**/*.{ts,tsx,yml}": "eslint --fix", | ||
"**/*.{ts,tsx,json,scss,css,yml}": "prettier --write" | ||
"**/*.{ts,tsx,json,scss,css,yml}": "prettier --write", | ||
"**/*.{ts,tsx}": "node scripts/githooks/check-localstorage-usage.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.