mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-30 12:40:03 +02:00
Update meta files and enable noIndex flag
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
npm run build
|
||||
touch ./dist/.nojekyll
|
||||
echo 'astro.roadmap.sh' > ./dist/CNAME
|
||||
echo 'roadmap.sh' > ./dist/CNAME
|
||||
- name: Deploy to GH Pages
|
||||
run: |
|
||||
git config user.email "kamranahmed.se@gmail.com"
|
||||
|
38
.github/workflows/sync-content.sh
vendored
38
.github/workflows/sync-content.sh
vendored
@@ -1,38 +0,0 @@
|
||||
name: Sync v1 Content
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allow manual run
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # daily at midnight
|
||||
|
||||
jobs:
|
||||
sync-v1-content:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: pnpm/action-setup@v2.2.2
|
||||
with:
|
||||
version: 7.13.4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pnpm install
|
||||
cd bin && git clone --depth 1 -b master https://${{ secrets.GH_TOKEN }}@github.com/kamranahmedse/developer-roadmap.git
|
||||
npm run sync-content
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
delete-branch: false
|
||||
branch: "sync-content"
|
||||
base: "master"
|
||||
labels: |
|
||||
sync-content
|
||||
automated pr
|
||||
reviewers: kamranahmedse
|
||||
commit-message: "chore: sync changes from v1 to v2"
|
||||
title: "Sync content changes from v1 to v2"
|
||||
body: |
|
||||
Synchronizes content changes from v1 to v2
|
||||
Please review the changes and merge if everything looks good.
|
Reference in New Issue
Block a user