Skip to content

Basic Website Source Code #4

Basic Website Source Code

Basic Website Source Code #4

name: Basic Website Source Code
on:
workflow_dispatch:
inputs:
WEBSITE_LINK_BASIC:
description: 'Get basic Website Source HTML,CSS,JavaScript'
required: true
jobs:
build:
name: WebGetter
runs-on: ubuntu-20.04
if: github.event.repository.owner.id == github.event.sender.id
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Check Out
uses: actions/checkout@v4
- name: Prepare the environment
run: |
pwd
sudo apt update
sudo apt -y install wget git bash zip
- name: Get Basic Website Source
run: |
wget -p -k ${{ github.event.inputs.WEBSITE_LINK_BASIC }}
ls
zip -r website.zip *
- name: Upload Basic Souree to Release
uses: softprops/action-gh-release@master
with:
files: |
/home/runner/work/WebGetter/WebGetter/*.zip
name: Basic Website Source Code
tag_name: ${{ github.run_id }}
body: |
Website Link: ${{ github.event.inputs.WEBSITE_LINK_BASIC }}