diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index f8cd679..bc64928 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -12,5 +12,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "Thanks you for creating a issue." - pr-message: "Thanks you for creating a pull request." + issue-message: "Thanx for your first Issue' first issue" + pr-message: "Message that will be displayed on users' first pull request" diff --git a/.github/workflows/deploy.yaml b/.github/workflows/main.yml similarity index 66% rename from .github/workflows/deploy.yaml rename to .github/workflows/main.yml index 32454b6..93a7437 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/main.yml @@ -14,23 +14,22 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm install - name: Build Project run: npm run build - env: - REACT_APP_WELCOME_TEXT: ${{ vars.REACT_APP_WELCOME_TEXT }} + - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@4.1.0 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: build diff --git a/.github/workflows/youtube.yaml b/.github/workflows/youtube.yaml deleted file mode 100644 index 884b9ff..0000000 --- a/.github/workflows/youtube.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Latest YouTube Videos - -on: - schedule: - # Runs every day at 10:30 IST (5 UTC) - - cron: "0 5 * * *" - workflow_dispatch: - -permissions: - contents: write - -jobs: - update-readme-with-youtube: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: gautamkrishnar/blog-post-workflow@master - with: - comment_tag_name: "YOUTUBE" - feed_list: https://www.youtube.com/feeds/videos.xml?channel_id=UC8NDpwTbsFSeP7dkbl4hKeQ diff --git a/package.json b/package.json index da728a6..6a053b0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "github-actions-crash-course", + "name": "github-actions-crash", "version": "0.1.0", "private": true, "homepage": "https://devopspro.github.io/github-actions-crash-course",